package com.ruoyi.school.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教室对象 sch_classroom
 * 
 * @author ruoyi
 * @date 2025-09-23
 */
public class Classroom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 教室编码 */
    @Excel(name = "教室编码")
    private String classroomCode;

    /** 教室名称 */
    @Excel(name = "教室名称")
    private String classroomName;

    /** 所属楼宇ID */
    @Excel(name = "所属楼宇ID")
    private Long buildingId;

    /** 所属楼层ID */
    @Excel(name = "所属楼层ID")
    private Long floorId;

    /** 容纳人数 */
    @Excel(name = "容纳人数")
    private Long capacity;

    /** 教室类型(STANDARD:标准, MULTIMEDIA:多媒体, LAB:实验室) */
    @Excel(name = "教室类型(STANDARD:标准, MULTIMEDIA:多媒体, LAB:实验室)")
    private String roomType;

    /** 状态(0空闲 1使用中 2关闭) */
    @Excel(name = "状态(0空闲 1使用中 2关闭)")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setClassroomCode(String classroomCode) 
    {
        this.classroomCode = classroomCode;
    }

    public String getClassroomCode() 
    {
        return classroomCode;
    }

    public void setClassroomName(String classroomName) 
    {
        this.classroomName = classroomName;
    }

    public String getClassroomName() 
    {
        return classroomName;
    }

    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }

    public void setFloorId(Long floorId) 
    {
        this.floorId = floorId;
    }

    public Long getFloorId() 
    {
        return floorId;
    }

    public void setCapacity(Long capacity) 
    {
        this.capacity = capacity;
    }

    public Long getCapacity() 
    {
        return capacity;
    }

    public void setRoomType(String roomType) 
    {
        this.roomType = roomType;
    }

    public String getRoomType() 
    {
        return roomType;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("classroomCode", getClassroomCode())
            .append("classroomName", getClassroomName())
            .append("buildingId", getBuildingId())
            .append("floorId", getFloorId())
            .append("capacity", getCapacity())
            .append("roomType", getRoomType())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
